package com.example.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import nonapi.io.github.classgraph.json.Id;

import java.util.Date;
import java.io.Serializable;

/**
 * (TUserInfo)实体类
 *
 * @author 刘雨
 * @since 2024-11-25 17:26:38
 */
@Data
@TableName("t_user_name")
public class TUserInfo implements Serializable {
    private static final long serialVersionUID = 167648033702739616L;
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String userId;
    /**
     * 账号
     */
    private String userAccountName;
    /**
     * 密码
     */
    private String userPassword;
    /**
     * 姓名
     */
    private String userName;
    /**
     * 性别(0:男，1:女，2:保密)
     */
    private Integer userGender;
    /**
     * 年龄
     */
    private Integer userAge;
    /**
     * 身份证
     */
    private String userIdentity;
    /**
     * 手机
     */
    private String userPhone;
    /**
     * 邮箱
     */
    private String userEmail;
    /**
     * 住址
     */
    private String userAddress;
    /**
     * 生日
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date userBirthday;
    /**
     * 民族
     */
    private String userNation;
    /**
     * 婚姻状况(0:未婚，1:已婚，2:离异)
     */
    private Integer userMaritalStatus;
    /**
     * 学历
     */
    private String userEducation;
    /**
     * 是否删除(0：否，1：是)
     */
    private Object delFlag;
    /**
     * 是否VIP(0：否，1：是)
     */
    private Object vipFlag;
    /**
     * 用户状态(0：正常-未实名，1:正常-已实名，2:注销)
     */
    private Integer userState;
    /**
     * 创建时间
     */
    private Date userCreateTime;
    /**
     * 修改时间
     */
    private Date userUpdateTime;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserAccountName() {
        return userAccountName;
    }

    public void setUserAccountName(String userAccountName) {
        this.userAccountName = userAccountName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserGender() {
        return userGender;
    }

    public void setUserGender(Integer userGender) {
        this.userGender = userGender;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public String getUserIdentity() {
        return userIdentity;
    }

    public void setUserIdentity(String userIdentity) {
        this.userIdentity = userIdentity;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    public Integer getUserMaritalStatus() {
        return userMaritalStatus;
    }

    public void setUserMaritalStatus(Integer userMaritalStatus) {
        this.userMaritalStatus = userMaritalStatus;
    }

    public String getUserEducation() {
        return userEducation;
    }

    public void setUserEducation(String userEducation) {
        this.userEducation = userEducation;
    }

    public Object getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Object delFlag) {
        this.delFlag = delFlag;
    }

    public Object getVipFlag() {
        return vipFlag;
    }

    public void setVipFlag(Object vipFlag) {
        this.vipFlag = vipFlag;
    }

    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    public Date getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(Date userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public Date getUserUpdateTime() {
        return userUpdateTime;
    }

    public void setUserUpdateTime(Date userUpdateTime) {
        this.userUpdateTime = userUpdateTime;
    }

}
